package com.lyy.factory;

import com.lyy.entity.Mouse;

/**
 * @author Liangyaoyun
 */
public class MouseFactory {
    public MouseFactory() {
        System.out.println("MouseFactory的无参构造器被调用..");
    }

    /** 静态方法 */
    public static Mouse getInstance() {
        return new Mouse("Mickey");
    }
}
